<div class="panel panel-default back">
    <div style="padding-top:10%"></div>
    <div class="panel-body">
        <nz-input [(ngModel)]="msg" nzType="textarea" [nzRows]="'4'" nzPlaceHolder="内容"></nz-input>
        <button nz-button nzType="default" class="cbutton" (click)="click()">留言</button>
        <p-dataScroller [value]="msgs" [rows]="5">
            <ng-template let-car pTemplate="item">
                <div class="ui-grid ui-grid-responsive ui-fluid" style="font-size:16px;padding:20px;border-bottom:1px solid #D5D5D5;">
                    <div class="ui-grid-row">
                        <div class="ui-grid-col-3" style="text-align:center">
                            <img class="img-circle img140" src="{{car.icon}}">
                            <br>
                            <h4>{{car.userName}}</h4>
                        </div>
                        <div class="ui-grid-col-9">
                            <br>
                            <br>
                            <p>{{car.time | timefromnow}}</p>
                            <h4 class="autoWrap">{{car.msg}}</h4>
                        </div>
                    </div>
                </div>
            </ng-template>

        </p-dataScroller>
    </div>
</div>